<template>
	<view>
		<view class="itemZhaop" @click="toGeRenXinXi">
			<view style="width: 70%;">
				<view class="nameZP">{{list.talentName}}</view>
				<view class="gongsi">{{list.phone}} | {{list.age}}</view>
				<view class="gongsi" v-if="list.remark">备注：{{list.remark}}</view>
				<!-- <view class="pic">
					<u--image shape="circle" :showLoading="true" src="http://gips3.baidu.com/it/u=3886271102,3123389489&fm=3028&app=3028&f=JPEG&fmt=auto?w=1280&h=960" width="30px"
						height="30px"></u--image>
				</view> -->
			</view>
			<view style="width: 30%;margin-top: 40rpx;">
				<view class="money">{{list.expectationSalary}}K</view>
				<view class="need">{{list.expectationPostName}}人</view>
				<view @click="tuiJianGangWei" class="need" style="float: right;">
					<u-button style="width:160rpx;text-align: center;height: 20rpx;" color="#44af85" text="推荐岗位"></u-button>
				</view>
			</view>
		</view>
		<!-- <view class="divider"></view> -->
		
	</view>
</template>

<script>
import list from '../../../uni_modules/uview-ui/libs/config/props/list';

	export default {
		name: 'm-position',
		props: {
			list:Object
		},
		components: {
			
		},
		data() {
			return {
				resumeObject:Object
			};
		},
		mounted() {
			this.resumeObject = this.$props.list
		},
		methods: {
			toGeRenXinXi(){
				uni.navigateTo({
					url:'/pages/geRenXinXi/geRenXinXi?renCaiInfo='+encodeURIComponent(JSON.stringify(this.resumeObject))
				})
			},
			tuiJianGangWei(){
				uni.navigateTo({
					url:'/pages/tuiJianGangWei/tuiJianGangWei/tuiJianGangWei?renCaiInfo='+encodeURIComponent(JSON.stringify(this.resumeObject))
				})
			}
		}
	};
</script>

<style lang="scss">
	.itemZhaop {
		display: flex;
		// padding: 0 20rpx;
		background-color: #fff;
		border-radius: 12rpx;
		padding: 30rpx;
		margin-bottom: 10rpx;
		justify-content: space-between;
	}

	.nameZP {
		font-size: 40rpx;
		color: #323232;
		padding: 8rpx 0;
		font-weight: 600;
		padding-top: 30rpx;
		margin-bottom: 20rpx;
		
	}

	.gongsi {
		font-size: 24rpx;
		color: #717171;
		padding: 8rpx 0;
	}

	.money {
		padding: 8rpx 0;
		color: #31a889;
		text-align: right;
		font-weight: 600;
	}

	.need {
		font-size: 24rpx;
		color: #717171;
		padding: 8rpx 0;
		text-align: right;
	}

	.divider {
		width: 100%;
		height: 6rpx;
		background-color: #eee;
		margin-top: 48rpx;
		
	}
	.pic {
		margin-top: 20rpx;
	}
</style>